<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="zjj" uri="http://localhost/tags" %>

<html>
<body>
	<shiro:hasPermission name="0">
	    <a href="/user/list">列表</a>
	</shiro:hasPermission>
	
	<shiro:hasPermission name="01">
	   <a href="/user/add">新增</a>
	</shiro:hasPermission>
	
	<shiro:hasPermission name="02">
	   <a href="/user/update">修改</a>
	</shiro:hasPermission>
	
	<p></p>
	<h3>自定义Tag</h3>
	<zjj:hasPermission name="0">
		<a href="/user/list">列表 - test</a>
	</zjj:hasPermission>
	<zjj:hasPermission name="01">
		<a href="/user/add">新增 - test</a>
	</zjj:hasPermission>
	<zjj:hasPermission name="02">
		<a href="/user/update">修改 - test</a>
	</zjj:hasPermission>
</body>
</html>
